Find the Maximum Repeating Element in an Array with Count